package com.wu.datastructure.stack;

/**
 * @version v1.0
 * @ProjectName learning-java
 * @ClassName Stack
 * @Description TODO 数据结构之栈
 * @Author wudl
 * @Date 2020/12/2 17:03
 */

public interface Stack<E> {


    int getSize();

    boolean isEmpty();

    void push(E e);

    E pop();

    E peek();


}
